package com.ryan.encrypttool.business.auth.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 菜单表(Menu)表实体类
 *
 * @author makejava
 * @since 2024-03-03 02:08:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class Menu implements Serializable {

    private static final long serialVersionUID = -48705222943561946L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    @TableField(value = "menu_id")
    private String menuId;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 名称码
     */
    @TableField(value = "name_code")
    private String nameCode;

    /**
     * 路径
     */
    @TableField(value = "path")
    private String path;

    /**
     * 优先级
     */
    @TableField(value = "priority")
    private String priority;

    /**
     * 按钮：add-添加,delete-删除,edit-编辑,query-查询
     */
    @TableField(value = "icon")
    private String icon;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 父级id
     */
    @TableField(value = "parent_menu_id")
    private Long parentMenuId;

    /**
     * 等级
     */
    @TableField(value = "level")
    private Integer level;

    /**
     * 操作人
     */
    @TableField(value = "operator")
    private String operator;

    /**
     * 逻辑删除
     */
    @TableField(value = "state")
    private String state;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;

    /**
     * 上次修改时间
     */
    @TableField(value = "update_time")
    private Long updateTime;

}
